﻿using Cmpp.Client.Cmpp3Message.Utility;

namespace Cmpp.Client.Cmpp3Message {
    public class Cmpp3SubmitResponse : Cmpp3Response {
        private readonly ulong m_messageId;
        private readonly uint m_result;

        public Cmpp3SubmitResponse(CmppMessageReader reader) : base(reader) {
            m_messageId = reader.ReadUInt64();
            m_result = reader.ReadUInt32();
        }

        public ulong MessageId {
            get {
                return m_messageId;
            }
        }

        public uint Result {
            get {
                return m_result;
            }
        }
    }
}